<template>
  <span>{{ cityName }}</span>
</template>

<script>
export default {
  name: "CurrentCity",
  data() {
    return {
      cityName: "",
    };
  },
  mounted() {
    this.cityName = localStorage.getItem("cityName") || "地区";
  },
};
</script>

<style scoped  lang="less" >
</style>